package com.wsoft.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 模块表
 * </p>
 *
 * @author Z001
 * @since 2024年12月17日 09:48:45
 */
@Getter
@Setter
@TableName("ts_module")
@Schema(name = "TsModuleEntity", description = "模块表")
public class TsModuleEntity extends BaseEntity {

    @Schema(description = "模块编码")
    @TableField("code")
    private String code;

    @Schema(description = "模块名称")
    @TableField("name")
    private String name;

    @Schema(description = "排序")
    @TableField("sort")
    private String sort;

    @Schema(description = "是否第三方")
    @TableField("is_third")
    private Integer isThird;

    @Schema(description = "是否需要token")
    @TableField("is_token")
    private Integer isToken;

    @Schema(description = "是否需要单点登录")
    @TableField("is_sign")
    private Integer isSign;

    @Schema(description = "是否启用")
    @TableField("is_enable")
    private Integer isEnable;

    @Schema(description = "图标")
    @TableField("icon")
    private String icon;
}
